﻿using System;

// Author: Miroslav Matula m.matula@alutam.cz 
// Date : 9.9.2010

namespace Slma.OData
{
  //-----------
  public class EventEntityChangedArgs : EventArgs
  {
    public NotifyEntityAction EntityAction { get; set; }
  }
  //------------
  public class EventEntityChangingArgs : EventArgs
  {
    public bool Cancel { get; set; }
    public NotifyEntityAction EntityAction { get; set; }
  }
  //------------
  public class EventEntityAddingNewEntityArgs : EventArgs
  {
    public EventEntityAddingNewEntityArgs(Entity newEntity_)
    {
      NewEntity = newEntity_;
    }
    public Entity NewEntity { get; set; }
  }
}
